package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.entity.BiddEntity;
import com.project.entity.PromotionEntity;
import com.project.entity.SupplierRecordEntity;

public interface IBiddService {

    /**
     *
     * @param status 0，未发布招标，1，已发布招标，2，完成招标
     * @return BiddEntity
     */
    IPage<BiddEntity> findByItem(int pageNO,int pageSize,int status);

    BiddEntity findById(String biddRef);

    void addBidd(BiddEntity biddEntity);


    void release(String inviteId, long [] supplierRefArray , String biddTitle );
}
